﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class Student:Person
    {
        private string Major;
        private string Grade;

        public void PriantMeg()
        {
            this.Id = 1;
            this.Name = "*";
            this.Sex = "男";
            this.Tel = "556456464";
            this.Cardid = "498494984";
            this.Major = "软件";
            this.Grade = "一年级";
            Console.WriteLine(this.Id+this.Name+ this.Sex+ this.Tel+ this.Cardid+ this.Major + this.Grade);
        }
    }
}
